package com.system.commonutils.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.stereotype.Component;

import java.sql.Timestamp;
@ApiModel(value = "商品类型")
public class GoodsType {

  @ApiModelProperty(name = "goodsType_id",notes = "商品类型id",dataType = "long",required = false)
  private long goodsType_id;
  @ApiModelProperty(name = "goodsType_name",notes = "商品类型名称",dataType = "String",required = false)
  private String goodsType_name;
  @JsonFormat(
          pattern = "yyyy-MM-dd",
          timezone = "GMT+8"
  )
  @ApiModelProperty(name = "goodsType_createTime",notes = "商品类型创建时间",dataType = "Timestamp",required = false)
  private Timestamp goodsType_createTime;
  @ApiModelProperty(name="goodsType_notes" ,notes = "商品类型备注")
  private String goodsType_notes;//商品类型备注
  @ApiModelProperty(name="goodsType_status" ,notes = "商品类型删除标记")
  private int goodsType_status;//商品类型删除标记
  @ApiModelProperty(name="nowsPage" ,notes = "当前页数")
  private int nowsPage;//当前页数
  @ApiModelProperty(name="pageSize" ,notes = "页面显示条数")
  private int pageSize;//页面显示条数

  public long getGoodsType_id() {
    return goodsType_id;
  }

  public void setGoodsType_id(long goodsType_id) {
    this.goodsType_id = goodsType_id;
  }

  public String getGoodsType_name() {
    return goodsType_name;
  }

  public void setGoodsType_name(String goodsType_name) {
    this.goodsType_name = goodsType_name;
  }

  public Timestamp getGoodsType_createTime() {
    return goodsType_createTime;
  }

  public void setGoodsType_createTime(Timestamp goodsType_createTime) {
    this.goodsType_createTime = goodsType_createTime;
  }

  public String getGoodsType_notes() {
    return goodsType_notes;
  }

  public void setGoodsType_notes(String goodsType_notes) {
    this.goodsType_notes = goodsType_notes;
  }

  public int getGoodsType_status() {
    return goodsType_status;
  }

  public void setGoodsType_status(int goodsType_status) {
    this.goodsType_status = goodsType_status;
  }

  public int getNowsPage() {
    return nowsPage;
  }

  public void setNowsPage(int nowsPage) {
    this.nowsPage = nowsPage;
  }

  public int getPageSize() {
    return pageSize;
  }

  public void setPageSize(int pageSize) {
    this.pageSize = pageSize;
  }

  @Override
  public String toString() {
    return "GoodsType{" +
            "goodsType_id=" + goodsType_id +
            ", goodsType_name='" + goodsType_name + '\'' +
            ", goodsType_createTime=" + goodsType_createTime +
            ", goodsType_notes='" + goodsType_notes + '\'' +
            ", goodsType_status=" + goodsType_status +
            ", nowsPage=" + nowsPage +
            ", pageSize=" + pageSize +
            '}';
  }
}
